package cn.sdormitory.exam.service;

import cn.sdormitory.common.api.CommonPage;
import cn.sdormitory.exam.entity.Exam;
import cn.sdormitory.exam.entity.ExamCourse;
import cn.sdormitory.exam.vo.*;

import java.util.List;
import java.util.Map;

/**
 * @author : yy
 * @date: 2024/12/28 9:22
 * @description:
 */
public interface ExamService {
    CommonPage<Exam> getList(String examName, Integer pageNum, Integer pageSize);
    void delExam(Integer[] ids);
    void updateExamRelease(Integer examId, Boolean isRelease);
    EditExamVo getEditExam(Integer id);
    void editExam(EditExamVo editExamVo);
    List<ExamClassVo> getExamClassList(Integer examId);
    List<Map<String, Object>> getCourseExamTypeOption();

    List<ExamCourseTabVo> getExamCourseTab(Integer examId,String courseType);
    void editExamCourse(List<ExamCourse> examCourses);
    List<ExamCourseScoreVo> getExamCourseScore(Integer classId, Integer examId, Integer courseId,String studentName,String examType);
    void enterExamCourseStudentScore(List<ExamCourseScoreVo> examCourseScoreVos);
    List<ExamTotalScoreVo> getExamTotalScore(Integer classId, Integer examId,String studentName);



}
